package com.example.com.netty;

import java.net.InetSocketAddress;

/**
 * @author 杜豪波
 * @description: TODO
 * @date 2020/1/3 15:23
 */
public class NettyConAddress {
    //服务连接地址
    private InetSocketAddress address;
    //连接类型
    private String conType;

    public NettyConAddress() {
    }

    public NettyConAddress(InetSocketAddress address, String conType) {
        this.address = address;
        this.conType = conType;
    }

    public InetSocketAddress getAddress() {
        return address;
    }

    public void setAddress(InetSocketAddress address) {
        this.address = address;
    }

    public String getConType() {
        return conType;
    }

    public void setConType(String conType) {
        this.conType = conType;
    }
}
